package com.jmb.api.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.Size;
import lombok.Data;

/**
 * 
 * @TableName t_task_email_ref
 */
@TableName(value ="t_task_email_ref")
@Data
public class TaskEmailRef extends BaseEntity{


    /**
     * 任务编号
     */
    @Schema(description = "任务编号")
    @TableField(value = "task_id")
    private Integer taskId;

    /**
     * 邮箱地址
     */
    @Schema(description = "邮箱地址")
    @Size(max = 255, message = "请输入长度小于255的邮件地址")
    @TableField(value = "email_address")
    private String emailAddress;
}